package fanshe;

import javax.tools.JavaCompiler;
import javax.tools.ToolProvider;

public class dongtaibianyi {
	public static void main(String[] args) {
		JavaCompiler c=ToolProvider.getSystemJavaCompiler();
		int n=c.run(null, null, null, "d:Helloword.java");
		System.out.println(n);
	}
}
